<?php
session_start();
include('header.php');
$token = hash("sha512", mt_rand(0, mt_getrandmax()));
$_SESSION['token'] = $token;
$_SESSION['time'] = time();
?>
<script src="provider.js"></script>
<script>
    var token2 = "<?php echo $token; ?>";
</script>
<div id="provider_new_account" style="text-align:center">
    <form method="post" name="new_provider_form" >
        <p style="padding:10px">Provider registration
        <pre>
       Name <input id="new_provider_name" type="text" name="name" /><br/>
      Login <input id="new_provider_login" type="text" name="login" /><br/>
   Password <input id="new_provider_passwd" type="password" name="passwd" /><br/>
     Retype <input id="new_provider_retyped" type="password" /><br/>
            <button type="button" onclick="register_provider();">Register</button>
        </pre>
        </p>
    </form>
</div>
</body>
</html>